#ifndef SOCKETS_UNIX
#define SOCKETS_UNIX

//#include <stdio.h>
//#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <stdlib.h>
#include <stdint.h>

#define BUFFER_LENGTH 1024
#define FALSE 0

uint32_t crearClienteUnix(char* path);
uint32_t enviarTexto(uint32_t sd, char*texto);
uint32_t crearServerUnix(char* path);
uint32_t meQuedoEscuchando(uint32_t ListeningSocket, uint32_t cantidadDeConexionesMaximas);
uint32_t aceptarConexionEnUnix(uint32_t sd, char* path);
uint32_t serverEnUnix(char* path);
void cerrarConexion(uint32_t socket);

#endif

